import Home from "../page/home";
import List from "../page/list";
import User from "../page/user";
import {createBrowserRouter} from 'react-router-dom';

const router = createBrowserRouter([
  {
    path: "/",
    element: <List />,
    children:[
        {path:"/home",element:<Home />},
        {path:"/user",element:<User />},
        {path:"/List",element:<List />},
    ]
  },
]);


export default router;